--[[
	--获取任务列表
]]
local filename = "gettasklist.lua"

local timetool = require "timetool"
local skynet = require "skynet"
local cluster = require "skynet.cluster"
local filelog =require "filelog"

local service = nil
local CMD = {
	service = nil
}

function CMD.process(rid, msgbody)
	if not service then
		service = CMD.service
	end
	local task_list_json = skynet.call(".tasksystem", "lua", "gettaskdata", rid, true)
    return {task_list_json = task_list_json}
end

return CMD